package com.seteam.collabcrossword.messages.server;

import com.seteam.collabcrossword.Globals;
import com.seteam.collabcrossword.messages.Message;

import java.io.Serializable;

/**
 * If the server determines that a lock on a word cannot be granted to a requesting client,
 * this message will be used to notify the client.
 */
public class CannotLock implements Message, Serializable {
    private static final long serialVersionUID = -2993305307419097130L;

    /**
     * {@inheritDoc}
     */
    public String getAction() {
        return Globals.CANNOT_LOCK_WORD;
    }
}
